package com.momoc.mrpc.rpc.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author momoc
 * @version 1.0
 * @className MRpcReponseMessage
 * @description
 * @date 2022/7/25 4:56 下午
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class MRpcResponseMessage extends Message{
    Exception exception;
    Object data;

    @Override
    public int getMessageType() {
        return 1;
    }
}
